package com.jumi.microservice.stock.domain;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @ClassName StockDetailDTO
 * @Description 仓库库存-详情
 * @Author Abel Yang
 * @Date 2020/8/25/025 16:03
 **/
public class StockDetailDTO extends AbstractObject implements Serializable {
    private static final long serialVersionUID = 7682254022965929773L;

    @ApiModelProperty(value = "物料id")
    private Long materialId;

    @ApiModelProperty(value = "物料code")
    private String materialCode;

    @ApiModelProperty(value = "常规入库数")
    private Integer inStockNum;

    @ApiModelProperty(value = "破损入库数")
    private Integer inStockDamageNum;

    @ApiModelProperty(value = "常规出库数")
    private Integer outStockNum;

    @ApiModelProperty(value = "破损出库数")
    private Integer outStockDamageNum;

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public Integer getInStockNum() {
        return inStockNum;
    }

    public void setInStockNum(Integer inStockNum) {
        this.inStockNum = inStockNum;
    }

    public Integer getInStockDamageNum() {
        return inStockDamageNum;
    }

    public void setInStockDamageNum(Integer inStockDamageNum) {
        this.inStockDamageNum = inStockDamageNum;
    }

    public Integer getOutStockNum() {
        return outStockNum;
    }

    public void setOutStockNum(Integer outStockNum) {
        this.outStockNum = outStockNum;
    }

    public Integer getOutStockDamageNum() {
        return outStockDamageNum;
    }

    public void setOutStockDamageNum(Integer outStockDamageNum) {
        this.outStockDamageNum = outStockDamageNum;
    }

    @Override
    public String toString() {
        return "StockDetailDTO{" +
                "materialId=" + materialId +
                ", materialCode='" + materialCode + '\'' +
                ", inStockNum=" + inStockNum +
                ", inStockDamageNum=" + inStockDamageNum +
                ", outStockNum=" + outStockNum +
                ", outStockDamageNum=" + outStockDamageNum +
                '}';
    }
}
